package com.example.democlient.network.serverpackets;

import java.nio.ByteBuffer;

import com.example.democlient.network.ServerConnection;
import com.example.democlient.network.packet.ServerPacket;

/**
 * 向服务器发送
 * @author Administrator
 *
 */
public class SM_TASK_FINISH_REQUEST extends ServerPacket
{

	private final int taskId;
	public SM_TASK_FINISH_REQUEST(int taskId)
	{
		super(0x06);
		this.taskId=taskId;
	}

	@Override
	protected void writeImpl(ServerConnection con, ByteBuffer buf)
	{
		writeD(buf,taskId);
	}
}
